<template>
	<view class="content">
		<NavBar title="我是首页" back></NavBar>
		<view class="content-son" v-showView.top>
			uniapp+uview 1.x快速开发模板 !
			<img v-defaultAvatar="img" alt="">
		</view>
	</view>
</template>

<script>
	import NavBar from "@/components/navBar/index.vue"
	import Mixin from "@/common/mixin/mixin.js"
	export default {
		mixins: [Mixin],
		data() {
			return {
				img: null
			}
		},
		components:{
			NavBar
		},
		methods: {
			
		},
		onShow(options) {
			//此处为示例api请求
			// this.$u.api.getTestData().then(res=>{
			// 	console.log(res);
			// });
		},
		onLoad(){
			
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		overflow: hidden;
	}
	.content-son {
		padding-top: 90rpx;
		text-align: center;
		font-size: 50rpx;
		margin: 500rpx 0;
		img {
			width: 100rpx;
			margin: 50rpx auto;
			display: block;
		}
	}
</style>
